package com.uiotsoft.projectmanager.common.constant.enums;

import lombok.Getter;

@Getter
public enum SystemCodeType implements CodeType {

    SYSTEM_ERROR(-1, "系统异常"),
    SYSTEM_SUCESS(0, "操作成功"),
    SYSTEM_FAIL(1, "操作失败");


    /**
     * 类型码
     */
    private int code;
    /**
     * 类型描述信息
     */
    private String mesg;

    SystemCodeType(int code, String mesg) {
        this.code = code;
        this.mesg = mesg;
    }
}
